const {
    router,
    localStorage
} = require("../../../utils/require");
router.get('/', (req, res) => {
    req.session.destroy(function(err) {
        res.send("退出登录！");
    });
    localStorage.clear();
})


module.exports = router